package com.atguigu.blog.mapper;


import com.atguigu.blog.pojo.Category;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * @ClassName CategoryMapper
 * @Description TODO
 * @Author 孤妤
 * @Date 2023/11/24 16:49
 */
@Mapper
public interface CategoryMapper {
    List<Category> selectAll();
    List<Category> selectAllPage(Category category);
    Category selectAllByCid(Integer cid);
    Integer insert(Category category);
    Integer update(Category category);
    Integer delete(Integer cid);
}
